package com.wlyuan.open.scanner.repository;

import com.wlyuan.open.scanner.dao.entity.OrderExceptionDO;

import java.util.List;
import java.util.Map;

/**
 * @author lijing
 * @description
 */
public interface OrderExceptionRepository {

    /**
     * 订单异常集合
     *
     * @param orderId
     * @return
     */
    Map<Long, OrderExceptionDO> getOrderException(List<Long> orderId);

    /**
     * 订单异常
     *
     * @param orderId
     * @return
     */
    OrderExceptionDO getOrderExceptionByOrderId(Long orderId);

}
